package com.ysd.lis.service.lab;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ysd.common.Result;
import com.ysd.lis.entity.PubReportRules;
import com.ysd.lis.entity.lab.LabRulesVsItemdict;
import com.ysd.lis.request.DeleteParam;
import com.ysd.lis.request.LabRulesVsItemdictDto;
import com.ysd.lis.request.ReportRulesPageParam;
import com.ysd.lis.request.lab.ReportRuleDto;

public interface ReportRulesService extends IService<PubReportRules> {

    public Result getPageList(ReportRulesPageParam reportRulesPageParam);

    public Result getReportAsName();

    public Result getReportGroupTree(ReportRulesPageParam reportRulesPageParam);

    public Result getReportRulesByGroupId(String rptGroup);

    public Result findNotSelectDictItemByRules(String rulesId);

    public Result findDictItemByRules(String rulesId, String type);

    public Result saveRuleVsItemDict(LabRulesVsItemdictDto dto);

    public Result saveRuleVsItemDictRuleFore(LabRulesVsItemdict labRulesVsItemdict);

    public Result deleleRuleVsItemDict(DeleteParam param);

    public Result updateReportRuleByRuleId1(LabRulesVsItemdict labRulesVsItemdict);

    public Result updateReportRuleByRuleId2(LabRulesVsItemdict labRulesVsItemdict);

    Result updateReportRuleByRuleId3(LabRulesVsItemdict labRulesVsItemdict);

    public Result updateReportRuleByRuleId4(LabRulesVsItemdict labRulesVsItemdict);

    public Result rulesSave(LabRulesVsItemdict labRulesVsItemdict);

    Result getReportRuleListByGroupId(ReportRulesPageParam reportRulesPageParam);

    Result addReportRuleList(PubReportRules reportRules);

    Result editReportRuleList(PubReportRules reportRules);

    Result deleteReportRuleList(ReportRuleDto reportRules);

    /*删除规则*/
    Result deleteReportRule(String Id);

    Result getReportGroupPoct(ReportRulesPageParam reportRulesPageParam);
}
